const mongoose = require("mongoose")
mongoose.connect("mongodb://localhost:27017/quest", { useNewUrlParser: true, useUnifiedTopology: true })

const infoSchame = mongoose.Schema({
    key:{type:String,require:true},
    value:{type:Number,require:true}
})

const InfoModel = mongoose.model('info',infoSchame)
module.exports = InfoModel